package com.irs.service;

import com.irs.pojo.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsService {
    int insert(Goods goods);

    int insertList(@Param("pojos") List<Goods> pojo);

    List<Goods> select(@Param("pojo") Goods pojo);

    int update(Goods goods);
    void delete(int id);
    //根据id查询信息
    Goods selectgoods(int id);
    Goods checkGood(String empName);
    List<Goods> selectkey(String key);
}
